package party.eggtart.calculaxenumer;

import android.app.Activity;
import android.content.Context;
import android.support.v7.app.AlertDialog;
/**
 * Created by eggta on 2017/1/8.
 */
public class XUniverse extends Activity {
    public void MessageBox(CharSequence Message, CharSequence ButtonName, Context context)
    {
        AlertDialog.Builder adb = new AlertDialog.Builder(context);
        adb.setMessage(Message)
                .setPositiveButton(ButtonName, null)
                .show();
    }

}